package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.utils.Result;
import com.jinzhi.jzweb.domain.JazCoursesChapterDO;
import com.jinzhi.jzweb.domain.JazCoursesDO;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzweb.domain.vo.JazCoursesVo;

import java.util.List;

/**
 * 
 * <pre>
 * 课程表
 * </pre>
 * <small> 2024-05-13 16:52:34 | Long</small>
 */
public interface JazCoursesService extends CoreService<JazCoursesDO> {

    public Result<Page<JazCoursesDO>> auntCoursesList(JazCoursesDO jazCoursesDTO);

    public Result<JazCoursesDO> auntCoursesDetail(Long courseId);

    public Result<List<JazCoursesChapterDO>> auntParentChapter(Long id);

    public Result<?> addBrowseNum(Long courseId);

    Result<Page<JazCoursesDO>> selCourseList(String name, String teacherName, int current, int size);

    void saveCourse(JazCoursesVo jazCoursesVo);

    void updateCourse(JazCoursesVo jazCoursesVo);

    Result<?> learningList();
}
